#include "../Models/MMap.h"

MMap::MMap()
{
    int i;

    i = 0;
    while (i < (80 * 60))
    {
        (this->table)[i] = NULL;
        i += 1;
    }
    this->grid = 0;
}

MMap::~MMap()
{
    int i;

    i = 0;
    while (i < (80 * 60))
    {
        if ((this->table)[i] != NULL)
            delete (this->table)[i];
        i += 1;
    }
}
